//
//  TableViewCell.m
//  RACTest
//
//  Created by Apple on 2017/12/6.
//  Copyright © 2017年 LYKM. All rights reserved.
//

#import "TableViewCell.h"
#import "StatusViewModel.h"
#import <SDWebImage/UIImageView+WebCache.h>


@implementation TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configViewModel:(StatusViewModel*)viewModel {
    
    self.timeLabel.text = viewModel.time;
    self.nameLabel.text = viewModel.nickName;
    self.contentLabel.text = viewModel.contentText;
    
    
    
}

@end
